<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  	<script type="text/javascript">
	   function nextPage(){
		   var path="<%=path %>/posAction_list?pageIndex="+(parseInt(${poslist.currentPage})+1);
		   location.href=path;
	   }
	   function del(dom){
		   if(confirm('确定删除吗?')){
			  location.href= 'gradeAction_delete?gradeId='+dom;
		   }
		
	   }
	   
	</script>
    <base href="<%=basePath%>">   
    <title>My JSP 'list.jsp' starting page</title>
     <link rel="stylesheet" href="<%=path %>/siteresource/css/global.css" type="text/css"/>
	<link rel="stylesheet" href="<%=path %>/siteresource/css/list.css" type="text/css"/>
	<link rel="stylesheet" href="<%=path %>/siteresource/css/menu.css" type="text/css"/>
	<script src="<%=path %>/siteresource/js/fixPNG.js" type="text/javascript"></script>
	
  </head>
  <body>
  <center><h1 style="color:red;">这里是年级管理页面</h1></center>
  <div class="infolist">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="6" class="title">
    <ul class="zsgc fleft">
      <li><s:a action="gradeAction_addUI">添加</s:a></li>
     
    </ul>
    </td>
    </tr>
  <tr class="line_g hover_bg">
    <td width="5%" align="center"><form id="form1" name="form1" method="post" action="">
      <p>
        <label>
          <input type="checkbox" name="CheckboxGroup1" value="单选框" id="CheckboxGroup1_0" /></label>
      </p>
    </form></td>
    <td width="30%" align="center"><strong>编号</strong></td>
    <td width="30%" align="center"><strong>名称</strong></td>
   <td width="30%" align="center"><strong>操作</strong></td>
  </tr>
  
  
  
  <!-- 数据展示区 -->
   <s:iterator value="#gradeList">
		  <tr class="line_g hover_bg">
		    <td width="5%" align="center">
		      <form id="form1" name="form1" method="post" action="">
			      <p>
			        <label>
			          <input type="checkbox" name="CheckboxGroup1" value="单选框" id="CheckboxGroup1_0" /></label>
			      </p>
		      </form>
		    </td>
		    <td align="center"><s:property value="gradeid"/></td>
		    <td align="center"><s:property value="gradeName"/></td>
	      	<td align="center"><s:a href="gradeAction_updateUI?gradeId=%{gradeId}">编辑</s:a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	      	<s:a href="javascript:del(%{gradeId})">删除</s:a></td>
		   
		  </tr>
   </s:iterator>
  

  <tr class="title">
    <td colspan="6" valign="middle">
    <div class="page fright">
    <ul>
     <li>共<strong class="color_red">${poslist.recordCount}</strong>条</li>
     <li>首页</li>
     <li>上一页</li>
     <li>${poslist.currentPage}/${poslist.pageCount}</li>
     <li><a href="javascript:nextPage()">下一页</a></li>
     <li><a href="">尾页</a></li>
     <li>转到第<input type="text" class="page_numble" />页</li>
     <li><input type="submit" value="" class="go mt7" /></li>
    </ul>
    </div>
    </td>
    </tr>
</table>
</div>
  
  
  <%--
    <s:iterator value="#poslist">
        <s:property value="id"/>
        <s:property value="nameCn"/>
        <br/>
        <br/>
    </s:iterator>
    <br/>
      <!-- 添加岗位 -->
        <s:a action="posAction_addUI">添加岗位</s:a>
  --%></body>
</html>











